<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <!-- 1.引入css样式 -->
    <link rel="stylesheet" href="../assets/lib/NProgress/NProgress.css" />
  </head>
  <body>
    <!-- 2.引入js -->
    <script src="../assets/lib/NProgress/NProgress.js"></script>
    <script>
      NProgress.start();

      setTimeout(() => {
        NProgress.done();
      }, 10000);
    </script>
  </body>
</html>
